package com.qianli.cashmama.product.facade;

import com.fqgj.common.api.Response;
import com.qianli.cashmama.product.facade.result.AppPackageInfo;
import com.qianli.cashmama.product.facade.result.AppProductCategoryVo;
import com.qianli.cashmama.product.facade.result.AppVo;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: pavan
 * Date: 2019/9/25
 * Time: 上午11:18
 */
public interface AppFacade {

    /**
     * 根据app的编码查询
     *
     * @param appCode app的编码
     * @return
     */
    Response<AppVo> getAppByAppCode(String appCode);

    /**
     * List of All Apps
     *
     * @return
     */
    Response<List<AppVo>> getAllApps();

    /**
     * 根据包名获取APP信息
     *
     * @param packageName
     * @return
     */
    Response<AppPackageInfo> getAppPackageInfoByPackageName(String packageName);

    /**
     * List of All AppProductCategory
     *
     * @return
     */
    Response<List<AppProductCategoryVo>> getAllAppProductCategory();

}
